package cn.k.mapper;

import cn.k.domain.SystemDictionary;
import cn.k.qo.QueryObject;
import cn.k.qo.SystemDictionaryQueryObject;

import java.util.List;

public interface SystemDictionaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionary record);

    SystemDictionary selectByPrimaryKey(Long id);

    List<SystemDictionary> selectAll();

    int updateByPrimaryKey(SystemDictionary record);

    List<SystemDictionary> selectForList(SystemDictionaryQueryObject qo);

    List<SystemDictionary> queryByService(String sn);

    List<SystemDictionary> selectByParentId(Long parentId);
}